package com.matt.docpro.mapper;

import com.matt.docpro.model.Doctor;
import com.matt.docpro.model.Patient;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 *
 */
@Mapper
public interface PatientMapper {

    List<Patient> getAll();

    Patient getById(String id);

    int getCount();

    void update(Patient patient);

    void insert(Patient patient);

    void deleteById(String id);
}